<Query Kind="Statements" />

var cfgdatacoll = 
	XElement.Load(@"C:\GP7Projects\S441visu\S441\GpMainPj.XML").Descendants("group")
	//.Select(elem=>elem.Attribute("name").Value)
	.Select(elem=> new {
		Name = elem.Attribute("name").Value,
		Children = elem.Elements()
	})
	.Dump();

